[INFO] cloning repository https://github.com/zloser020/mini-redis
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zloser020/mini-redis" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzloser020%2Fmini-redis", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzloser020%2Fmini-redis'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0e2151ce0e6ce79db1fff2844ff4b9db1452a1fc
[INFO] fixing zloser020/mini-redis against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzloser020%2Fmini-redis" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/zloser020/mini-redis
[INFO] finished tweaking git repo https://github.com/zloser020/mini-redis
[INFO] tweaked toml for git repo https://github.com/zloser020/mini-redis written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/zloser020/mini-redis on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/zloser020/mini-redis already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 828bc4bfc7f9155f21c6aa68d219708be66862a18ac40678ee6668fca1b99af9
[INFO] running `Command { std: "docker" "start" "828bc4bfc7f9155f21c6aa68d219708be66862a18ac40678ee6668fca1b99af9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "828bc4bfc7f9155f21c6aa68d219708be66862a18ac40678ee6668fca1b99af9" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "828bc4bfc7f9155f21c6aa68d219708be66862a18ac40678ee6668fca1b99af9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "828bc4bfc7f9155f21c6aa68d219708be66862a18ac40678ee6668fca1b99af9" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking ansi_term v0.12.1
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]     Checking tracing-log v0.1.4
[INFO] [stderr]     Checking matchers v0.0.1
[INFO] [stderr]     Checking tracing-serde v0.1.3
[INFO] [stderr]     Checking atoi v0.3.3
[INFO] [stderr]     Checking serde_json v1.0.142
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]     Checking structopt v0.3.26
[INFO] [stderr]     Checking tokio v1.47.1
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]     Checking tracing-subscriber v0.2.25
[INFO] [stderr]     Checking tracing-futures v0.2.5
[INFO] [stderr]     Checking tokio-stream v0.1.17
[INFO] [stderr]     Checking mini-redis v0.4.1
[INFO] [stderr]     Checking mini-redis v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0373]: async block may outlive the current function, but it borrows `client`, which is owned by the current function
[INFO] [stdout]   --> src/bin/client.rs:9:27
[INFO] [stdout]    |
[INFO] [stdout]  9 |     let t1 = tokio::spawn(async {
[INFO] [stdout]    |                           ^^^^^ may outlive borrowed value `client`
[INFO] [stdout] 10 |         let res = client.get("foo").await;
[INFO] [stdout]    |                   ------ `client` is borrowed here
[INFO] [stdout]    |
[INFO] [stdout]    = note: async blocks are not executed immediately and must either take a reference or ownership of outside variables they use
[INFO] [stdout] help: to force the async block to take ownership of `client` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout]  9 |     let t1 = tokio::spawn(async move {
[INFO] [stdout]    |                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `client` as mutable more than once at a time
[INFO] [stdout]    --> src/bin/client.rs:13:27
[INFO] [stdout]     |
[INFO] [stdout]   9 |       let t1 = tokio::spawn(async {
[INFO] [stdout]     |                -            ----- first mutable borrow occurs here
[INFO] [stdout]     |  ______________|
[INFO] [stdout]     | |
[INFO] [stdout]  10 | |         let res = client.get("foo").await;
[INFO] [stdout]     | |                   ------ first borrow occurs due to use of `client` in coroutine
[INFO] [stdout]  11 | |     });
[INFO] [stdout]     | |______- argument requires that `client` is borrowed for `'static`
[INFO] [stdout]  12 |
[INFO] [stdout]  13 |       let t2 = tokio::spawn(async {
[INFO] [stdout]     |                             ^^^^^ second mutable borrow occurs here
[INFO] [stdout]  14 |           client.set("foo", "bar".into()).await;
[INFO] [stdout]     |           ------ second borrow occurs due to use of `client` in coroutine
[INFO] [stdout]     |
[INFO] [stdout] note: requirement that the value outlives `'static` introduced here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/task/spawn.rs:168:28
[INFO] [stdout]     |
[INFO] [stdout] 168 |         F: Future + Send + 'static,
[INFO] [stdout]     |                            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/bin/client.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |         let res = client.get("foo").await;
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0373, E0499.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0373`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mini-redis` (bin "client") due to 2 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0373]: async block may outlive the current function, but it borrows `client`, which is owned by the current function
[INFO] [stdout]   --> src/bin/client.rs:9:27
[INFO] [stdout]    |
[INFO] [stdout]  9 |     let t1 = tokio::spawn(async {
[INFO] [stdout]    |                           ^^^^^ may outlive borrowed value `client`
[INFO] [stdout] 10 |         let res = client.get("foo").await;
[INFO] [stdout]    |                   ------ `client` is borrowed here
[INFO] [stdout]    |
[INFO] [stdout]    = note: async blocks are not executed immediately and must either take a reference or ownership of outside variables they use
[INFO] [stdout] help: to force the async block to take ownership of `client` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout]  9 |     let t1 = tokio::spawn(async move {
[INFO] [stdout]    |                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `client` as mutable more than once at a time
[INFO] [stdout]    --> src/bin/client.rs:13:27
[INFO] [stdout]     |
[INFO] [stdout]   9 |       let t1 = tokio::spawn(async {
[INFO] [stdout]     |                -            ----- first mutable borrow occurs here
[INFO] [stdout]     |  ______________|
[INFO] [stdout]     | |
[INFO] [stdout]  10 | |         let res = client.get("foo").await;
[INFO] [stdout]     | |                   ------ first borrow occurs due to use of `client` in coroutine
[INFO] [stdout]  11 | |     });
[INFO] [stdout]     | |______- argument requires that `client` is borrowed for `'static`
[INFO] [stdout]  12 |
[INFO] [stdout]  13 |       let t2 = tokio::spawn(async {
[INFO] [stdout]     |                             ^^^^^ second mutable borrow occurs here
[INFO] [stdout]  14 |           client.set("foo", "bar".into()).await;
[INFO] [stdout]     |           ------ second borrow occurs due to use of `client` in coroutine
[INFO] [stdout]     |
[INFO] [stdout] note: requirement that the value outlives `'static` introduced here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/task/spawn.rs:168:28
[INFO] [stdout]     |
[INFO] [stdout] 168 |         F: Future + Send + 'static,
[INFO] [stdout]     |                            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]   --> src/bin/client.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 |         let res = client.get("foo").await;
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0373, E0499.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0373`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mini-redis` (bin "client" test) due to 2 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "828bc4bfc7f9155f21c6aa68d219708be66862a18ac40678ee6668fca1b99af9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "828bc4bfc7f9155f21c6aa68d219708be66862a18ac40678ee6668fca1b99af9", kill_on_drop: false }`
[INFO] [stdout] 828bc4bfc7f9155f21c6aa68d219708be66862a18ac40678ee6668fca1b99af9
